<!DOCTYPE html>
<html lang="-CN">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<title>航空订票系统 | 关于</title>
	<link rel="stylesheet" type="text/css" href="admin/lib/layui-v2.5.5/css/layui.css">
	<link rel="stylesheet" type="text/css" href="admin/css/main.css">
	<!--加载meta IE兼容文件-->
	<!--[if lt IE 9]>
	<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
	<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
	<![endif]-->
	<style>
		h2 {text-align: center;}
		p {text-indent:50px; margin: 8px 0;}
	</style>
</head>
<body>
<div class="header">
	<div class="menu-btn">
		<div class="menu"></div>
	</div>
	<h1 class="logo">
		<a href="index.html">
			<span>航空订票系统</span>
			<img src="admin/images/favicon.ico" height="60px">
		</a>
	</h1>
	<div class="nav">
		<a href="index.html">航班查询</a>
		<a href="about.html" class="active">关于</a>
	</div>
	<ul class="layui-nav header-down-nav">
		<li class="layui-nav-item"><a href="index.html" class="active">航班查询</a></li>
		<li class="layui-nav-item"><a href="about.html">关于</a></li>
	</ul>
	<p class="welcome-text">
		<span id="username"><a style="color: #1295D8" href="login.html">登录</a></span>
	</p>
</div>

<div class="banner">
	<div class="cont w1000" style="padding-top: 30px;">
		<form class="layui-form layui-form-pane" onsubmit="return false">
			<div class="layui-card" style="max-width: 672px;margin: 0 auto;">
				<div class="layui-card-header">关于</div>
				<div class="layui-card-body">
					<h2>航空订票系统</h2>

					<p><b>目的</b>：复习与巩固数据库基础与设计知识，学习PHP的基础知识、Laravel框架技术，进一步加深对Web编程技术的掌握和理解，利用本次课程设计的机会，将学习到的理论知识和实际有机的结合起来，锻炼分析解决实际问题的能力。提高适应实际，实践编程的能力。</p>

					<p>本项目参考厦门航空网(<a href="https://www.xiamenair.com/zh-cn/">https://www.xiamenair.com/zh-cn/</a>),使用<b>Laravel+MySQL</b>模仿实现其一小部分功能。航班数据来着 去哪儿网(<a href="https://flight.qunar.com/">https://flight.qunar.com/</a>)</p>
					<p>联系邮箱：<a href="mailto:zhienchen@jmu.edu.cn">zhienchen@jmu.edu.cn</a></p>
				</div>
			</div>

		</form>
	</div>
</div>


<div class="footer-wrap" style="  text-align: center;padding: 20px;color: #858796;font-size: 18px;">
	<span style="">Copyright ©  2021</span>
</div>
<script type="text/javascript" src="admin/lib/layui-v2.5.5/layui.js"></script>
<script type="text/javascript">
	layui.config({
		base: 'admin/js/util/'
	}).use(['element', 'menu'], function () {
		var element = layui.element,
			menu = layui.menu;

		var user = layui.sessionData('user');
		if (user && user.id) {
			$('#username').html('欢迎您，'+user.name+' | <a style="color: #1295D8" class="login-out">登出</a>');
			$('.login-out').on("click", function () {
				$.get('/api/logout', function () {
					layer.msg('退出登录成功', function () {
						sessionStorage.clear();
						window.location = '/';
					});
				})
			});
		} else {
			$('#username').html('<a style="color: #1295D8" href="register.html">注册</a> | <a style="color: #1295D8" href="login.html">登录</a>');
			$('.header-down-nav').append('<li class="layui-nav-item"><a href="register.html">注册</a></li><li class="layui-nav-item"><a href="login.html">登录</a></li>');
		}

		menu.init();
	})
</script>
</body>
</html>
